import Vue from 'vue'
import Router from 'vue-router'
import Login from '@/user/Login'
import Add from '../music/Add'

Vue.use(Router)


export default new Router({
  routes: [
    {
      path: '/',
      name: 'Login',
      component: Login
    },
    {
      path:'/add',
      name:'Add',
      component:Add
    }
  ],
  mode:'history'
})
